<?php false and $_styles = '额外的css文件' 
        and $_title = '标题'
        and $_keywords = '关键词' 
        and $_description = '页面说明'
        and $content = '主要内容'
        and $_scripts = '额外的js文件'
        and $breadcrum = '面包屑对象或字符串';  
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
	<title>叮咚老师-管理后台-<?php echo $_title;?></title>
    <meta name="keywords" content="<?php echo $_keywords;?>" />
    <meta name="description" content="<?php echo $_description;?>" />
    
    <?php echo $_styles."\n"; ?>
	<!-- bootstrap & fontawesome -->
	<link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/bootstrap.css" />
	<link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/font-awesome.css" />

	<!-- page specific plugin styles -->

	<!-- text fonts -->
	<link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/ace-fonts.css" />

	<!-- ace styles -->
	<link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />

	<!--[if lte IE 9]>
		<link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/ace-part2.css" class="ace-main-stylesheet" />
	<![endif]-->
        
	<!--[if lte IE 9]>
	  <link rel="stylesheet" href="<?php echo base_url();?>public/assets/css/ace-ie.css" />
	<![endif]-->

	<!-- inline styles related to this page -->

	<!-- ace settings handler -->
	<script src="<?php echo base_url();?>public/assets/js/ace-extra.js"></script>

	<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

	<!--[if lte IE 8]>
	<script src="<?php echo base_url();?>public/assets/js/html5shiv.js"></script>
	<script src="<?php echo base_url();?>public/assets/js/respond.js"></script>
	<![endif]-->
	
	<!-- basic scripts -->

	<!--[if !IE]> -->
	<script type="text/javascript">
		window.jQuery || document.write("<script src='<?php echo base_url();?>public/assets/js/jquery.js'>"+"<"+"/script>");
	</script>

	<!-- <![endif]-->

	<!--[if IE]>
    <script type="text/javascript">
     window.jQuery || document.write("<script src='<?php echo base_url();?>public/assets/js/jquery1x.js'>"+"<"+"/script>");
    </script>
    <![endif]-->
	<script type="text/javascript">
		if('ontouchstart' in document.documentElement) document.write("<script src='<?php echo base_url();?>public/assets/js/jquery.mobile.custom.js'>"+"<"+"/script>");
	</script>
	<script src="<?php echo base_url();?>public/assets/js/bootstrap.js"></script>

	<!-- page specific plugin scripts -->

	<!-- ace scripts -->
	
	<script src="<?php echo base_url();?>public/assets/js/ace/ace.js"></script>
	<script src="<?php echo base_url();?>public/assets/js/ace/ace.sidebar.js"></script>
	<script src="<?php echo base_url();?>public/assets/js/ace/ace.sidebar-scroll-1.js"></script>

    <?php echo $_scripts; ?>
    
</head>

<body class="no-skin">

    <?php include __DIR__ . '/common/header.php'; ?> 
    
    <div class="main-container" id="main-container">
		<script type="text/javascript">
			try{ace.settings.check('main-container' , 'fixed')}catch(e){}
		</script>
		
		<?php include __DIR__ . '/common/left.php'; ?> 

		<div class="main-content">
			<div class="main-content-inner">
				<!-- #section:basics/content.breadcrumbs -->
				<div class="breadcrumbs" id="breadcrumbs">
					<script type="text/javascript">
						try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
					</script>
					
					<ul class="breadcrumb">
						<li>
							<i class="ace-icon fa fa-home home-icon"></i>
							<a href="#">Home</a>
						</li>
						
						<?php if (isset($breadcrum) && $breadcrum) { ?>
						    <li class="active"><?php echo $breadcrum;?></li>
					    <?php }?>

					</ul><!-- /.breadcrumb -->

				</div>

				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
                    <?php include __DIR__ . '/common/alerts.php'; ?>    
					
					<?php echo $content; ?>
				</div><!-- /.page-content -->
			</div>
		</div><!-- /.main-content -->

		<?php include __DIR__ . '/common/footer.php'; ?>

		<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
			<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
		</a>
	</div><!-- /.main-container -->

</body>
</html>


